export interface ResponseData {
  code: number
  ok: boolean
  message: string
}

export interface Patient {
  address: string
  birthdate: string
  cardNo: string
  certificatesNo: string
  certificatesType: string
  cityCode: string
  addressSelected? : Array<string>
  contactsCertificatesNo: string
  contactsCertificatesType: string
  contactsName: string
  contactsPhone: string
  createTime: string
  districtCode: string
  id: number
  isDeleted: number
  isInsure: number
  isMarry: number
  name: string
  param: {
    certificatesTypeString: string
    cityString: string
    contactsCertificatesTypeString: string
    districtString: string
    fullAddress: string
    provinceString: string
  }
  phone: string
  provinceCode: string
  sex: number
  status: string
  updateTime: string
  userId: number
}

export type PatientArr = Patient[]

export interface PatientResponseData extends ResponseData {
  data: PatientArr
}

export interface PatientByIdResponseData extends ResponseData {
  data: Patient
}
